package com.anolesoft.yr.mbus.contm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 合同模板表
    */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "contm_main")
public class ContmMain implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "objuid")
    private String objuid;

    /**
     * 合同名称
     */
    @TableField(value = "cont_name")
    private String contName;

    /**
     * 合同类型
     */
    @TableField(value = "cont_type_uid")
    private String contTypeUid;

    /**
     * 样式主表主键
     */
    @TableField(value = "style_main_uid")
    private String styleMainUid;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 修改人
     */
    @TableField(value = "m_user_uid")
    private String mUserUid;

    /**
     * 修改时间
     */
    @TableField(value = "m_time")
    private Date mTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag")
    private Byte delFlag;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer rows;

    public String getObjuid() {
        return objuid;
    }

    public void setObjuid(String objuid) {
        this.objuid = objuid;
    }

    public String getContName() {
        return contName;
    }

    public void setContName(String contName) {
        this.contName = contName;
    }

    public String getContTypeUid() {
        return contTypeUid;
    }

    public void setContTypeUid(String contTypeUid) {
        this.contTypeUid = contTypeUid;
    }

    public String getStyleMainUid() {
        return styleMainUid;
    }

    public void setStyleMainUid(String styleMainUid) {
        this.styleMainUid = styleMainUid;
    }

    public String getcUserUid() {
        return cUserUid;
    }

    public void setcUserUid(String cUserUid) {
        this.cUserUid = cUserUid;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public String getmUserUid() {
        return mUserUid;
    }

    public void setmUserUid(String mUserUid) {
        this.mUserUid = mUserUid;
    }

    public Date getmTime() {
        return mTime;
    }

    public void setmTime(Date mTime) {
        this.mTime = mTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public List<ContmContent> getContmContents() {
        return contmContents;
    }

    public void setContmContents(List<ContmContent> contmContents) {
        this.contmContents = contmContents;
    }

    @TableField(exist = false)
    private List<ContmContent> contmContents;

    private static final long serialVersionUID = 1L;
}